<!--
 * @Author: 鱿鱼溪学院
 * @Date: 2025-02-06 01:27:33
 * @LastEditTime: 2025-07-27 17:35:57
 * @LastEditors: 鱿鱼溪学院
 * @Description: 
 * @FilePath: \yyx-web\src\views\Home.vue
 * Copyright 鱿鱼溪学院 by edu v1.0
 * 天道酬勤
-->
<template>
  <div>
    <Header></Header>
    <NavSwiper></NavSwiper>
    <NewCourse></NewCourse>
    <Footer></Footer>
  </div>
</template>

<script setup lang="ts">
import Header from '@/components/common/Header.vue'
import NavSwiper from '@/components/home/NavSwiper.vue'
import NewCourse from '../components/home/NewCourse.vue'
import Footer from '@/components/common/Footer.vue'
//引入仓库
import useUserStore from '@/store/modules/user'
import { onMounted } from 'vue'

const userStore = useUserStore()

onMounted(() => {
  //获取用户信息
  userStore.getUserInfo()
})
</script>

<style scoped></style>
